import java.util.*;

public class AVLNode
{
	public String name;
	public String code;
	public String tcode;
	public Integer type;
	public Object value;
	public boolean show;
	public int size;
	public int row;
	public String index1, index2;
	public int col;
	public int line;

	public AVLNode(String c)
	{
		name = index1 = index2 = "";
		this.code = c;
		this.tcode = c;
		type = new Integer(AVL.INV);
		show = false;
		value = (Object)new ArrayList<Integer>();
		size = row = col = line = 0;
	}

	public AVLNode(String c, int n)
	{
		name = index1 = index2 = "";
		this.code = c;
		this.tcode = c;
		type = new Integer(AVL.INV);
		show = false;
		value = (Object)new ArrayList<Integer>();
		size = row = col = 0;
		line = n;
	}

	public AVLNode(Object d)
	{
		AVLNode c;
		if(d instanceof AVLNode) {
			c = (AVLNode) d;
			name = new String(c.name);
			code = new String(c.code);
			type = new Integer(AVL.INV);
			value = (Object)new ArrayList<Integer>((ArrayList<Integer>)c.value);
			show = c.show;
			size = c.size;
			row = c.row;
			col = c.col;
			line = c.line;
			name = new String(c.index1);
			name = new String(c.index2);
		}
	}

}
